package me.maiz.trainning.devsuggestions;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class BatchAddController {

    @PostMapping("/userList")
    public String userList(@RequestBody List<UserForm> data){
        System.out.println(data);
        return "success";
    }


}
